

<%@ page import="com.surelution.projects.crm.NoGasPlan" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'noGasPlan.label', default: 'NoGasPlan')}" />
        <title><g:message code="default.edit.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></span>
            <span class="menuButton"><g:link class="list" action="list"><g:message code="default.list.label" args="[entityName]" /></g:link></span>
            <span class="menuButton"><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></span>
        </div>
        <div class="body">
            <h1><g:message code="default.edit.label" args="[entityName]" /></h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${noGasPlanInstance}">
            <div class="errors">
                <g:renderErrors bean="${noGasPlanInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form method="post" >
                <g:hiddenField name="id" value="${noGasPlanInstance?.id}" />
                <g:hiddenField name="version" value="${noGasPlanInstance?.version}" />
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="aprNum"><g:message code="noGasPlan.aprNum.label" default="Apr Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'aprNum', 'errors')}">
                                    <g:textField name="aprNum" value="${noGasPlanInstance?.aprNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="augNum"><g:message code="noGasPlan.augNum.label" default="Aug Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'augNum', 'errors')}">
                                    <g:textField name="augNum" value="${noGasPlanInstance?.augNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="decNum"><g:message code="noGasPlan.decNum.label" default="Dec Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'decNum', 'errors')}">
                                    <g:textField name="decNum" value="${noGasPlanInstance?.decNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="febNum"><g:message code="noGasPlan.febNum.label" default="Feb Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'febNum', 'errors')}">
                                    <g:textField name="febNum" value="${noGasPlanInstance?.febNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="janNum"><g:message code="noGasPlan.janNum.label" default="Jan Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'janNum', 'errors')}">
                                    <g:textField name="janNum" value="${noGasPlanInstance?.janNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="julNum"><g:message code="noGasPlan.julNum.label" default="Jul Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'julNum', 'errors')}">
                                    <g:textField name="julNum" value="${noGasPlanInstance?.julNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="junNum"><g:message code="noGasPlan.junNum.label" default="Jun Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'junNum', 'errors')}">
                                    <g:textField name="junNum" value="${noGasPlanInstance?.junNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="marNum"><g:message code="noGasPlan.marNum.label" default="Mar Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'marNum', 'errors')}">
                                    <g:textField name="marNum" value="${noGasPlanInstance?.marNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="mayNum"><g:message code="noGasPlan.mayNum.label" default="May Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'mayNum', 'errors')}">
                                    <g:textField name="mayNum" value="${noGasPlanInstance?.mayNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="novNum"><g:message code="noGasPlan.novNum.label" default="Nov Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'novNum', 'errors')}">
                                    <g:textField name="novNum" value="${noGasPlanInstance?.novNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="number"><g:message code="noGasPlan.number.label" default="Number" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'number', 'errors')}">
                                    <g:textField name="number" value="${noGasPlanInstance?.number}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="octNum"><g:message code="noGasPlan.octNum.label" default="Oct Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'octNum', 'errors')}">
                                    <g:textField name="octNum" value="${noGasPlanInstance?.octNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="septNum"><g:message code="noGasPlan.septNum.label" default="Sept Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'septNum', 'errors')}">
                                    <g:textField name="septNum" value="${noGasPlanInstance?.septNum}" />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="station"><g:message code="noGasPlan.station.label" default="Station" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'station', 'errors')}">
                                    <g:select name="station.id" from="${com.surelution.projects.crm.OwnStation.list()}" optionKey="id" optionValue="name" value="${noGasPlanInstance?.station?.id}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="stationArea"><g:message code="noGasPlan.stationArea.label" default="Station Area" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'stationArea', 'errors')}">
                                    <g:select name="stationArea.id" from="${com.surelution.projects.crm.StationArea.list()}" optionKey="id" optionValue="areaName" value="${noGasPlanInstance?.stationArea?.id}"  />
                                </td>
                            </tr>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                  <label for="yearNum"><g:message code="noGasPlan.yearNum.label" default="Year Num" /></label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean: noGasPlanInstance, field: 'yearNum', 'errors')}">
                                    <g:textField name="yearNum" value="${noGasPlanInstance?.yearNum}" />
                                </td>
                            </tr>
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><g:actionSubmit class="save" action="update" value="${message(code: 'default.button.update.label', default: 'Update')}" /></span>
                    <span class="button"><g:actionSubmit class="delete" action="delete" value="${message(code: 'default.button.delete.label', default: 'Delete')}" onclick="return confirm('${message(code: 'default.button.delete.confirm.message', default: 'Are you sure?')}');" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
